package com.design.pattern.builder;

/**
 * Created by Lxk on 2019/11/24.
 */
public class AirShip {

    /**
     * 轨道舱
     */
    private OrbitalModule orbitalModule;
    /**
     * 发动机
     */
    private Engine engine;
    /**
     * 逃逸塔
     */
    private EscapeTower escapeTower;

    public void launchToSpace() {
        System.out.println("launching，，，");
    }

    public OrbitalModule getOrbitalModule() {
        return orbitalModule;
    }

    public void setOrbitalModule(OrbitalModule orbitalModule) {
        this.orbitalModule = orbitalModule;
    }

    public Engine getEngine() {
        return engine;
    }

    public void setEngine(Engine engine) {
        this.engine = engine;
    }

    public EscapeTower getEscapeTower() {
        return escapeTower;
    }

    public void setEscapeTower(EscapeTower escapeTower) {
        this.escapeTower = escapeTower;
    }
}
